<?php

//各家小程序的配置信息

use think\facade\Env;

return [

    //微信小程序
    //【快变现】
//    'wx' => [
//        'appid' => 'wx505f25cb1dfc0e45',
//        "secret" => "f8185d27c4cf78de85e6b3eb05dec3e7",
//    ],

    //【小程序】
    'wx' => [
        'appid' => 'wx03a1df531f0eb316',
        "secret" => "9bdff24d253e54576226b1ef182ac68e",
    ],

    //公众号
    'officialAccount'=>[
        'app_id' => 'wx0e9785355f0e25db',
        'secret' => '7ad8b7bb822cebed88ffe6248d1f36c1',
        // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
        'response_type' => 'object',
    ],

//    //懒虫公众号
//    'officialAccount'=>[
//        'app_id' => 'wx0f229ac7109e5668',
//        'secret' => '28840fc9a8a16cf802def236da08ae26',
//        // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
//        'response_type' => 'object',
//    ],

    //微信小程序支付
    "wechat_pay"=>[
        'app_id'             => 'wx505f25cb1dfc0e45',
        'mch_id'             => '1592096561',
//        'key'                => "MIIEvQIBADANBgkqhkiG9w0BAQERAASC",
        'key'                => "MIIEvQIBADANBgkqhkiG9w0BAQEFAASC",
        'cert_path'          => Env::get('config_path').'apiclient_cert.pem', // XXX: 绝对路径！！！！
        'key_path'           => Env::get('config_path').'apiclient_key.pem',      // XXX: 绝对路径！！！！
        'notify_url'         => 'https://kuaitui.ilanchong.cn/user/vip/payCallBack',     // 你也可以在下单时单独设置来想覆盖它
    ],

    //字节跳动小程序
    'tt' => [
        'appid' => 'tta2a4d4193d9e41b7',
        "secret" => "0a01186a8488cd6954513de729ee5bf6c34bf3e6",
    ],

    //字节跳动小程序
    'ttpay' => [
        'shop_code' => '1900089843',    //头条商户号
        'app_id' => '800898439694',           //头条AppID
        'app_secret' => 'bp38m3qfwhdy0kecdhv0zb5zs6iidq2xbkrqjiwh',      //头条支付secret
    ],

    //阿里小程序
    'ali' => [
        'appid' => 'tt7dea0b57e2d08272',
        "secret" => "908882ade06a26a4da48ff5b616bb912733b5b07",
    ],
    //阿里小程序
    'alipay' => [
        'appid'=>'2021001164602548',
        'rsaPrivateKey' => 'MIIEpQIBAAKCAQEAk4V7LZVgK9P4WyOaY+kQoO7QKh0UO/Pjx2DZI6D+WRA1wxfFFlQ9JsOEMeMf3ayG+TuxVCF4sQCb64DYHfEGCZMdrmK52q4ENELPkCPXihVs9RYHVgGir9QKIT047vu56rJHNlFcwmh+SZPUphpH2ENTNttj1+DkJnse3zz5KMSVcMRQtDk6YsqF3v52qGGO9Hvy8BTWebeWQcuOPrKFTWwiWceoiXAZrvAWtGUzCU0Kw+cPTFcA9YMIsk/54xzs9D/1bkyTyZcaxT3ILWOyusNyNCwIyNHnEwNwcJTrPniPjbm4ZRY2HfldLPb8stICs14mtnHsLIyYXR2h/PxE4wIDAQABAoIBAD9Le0FgoQXNCfdYvEp32lmifZBEL8VVbHrENAZUci0WhmqxjS96b05tfw/EioybFMJk+T3GqrkPMNcHzjJykouTIp4K4AFSvp0JuXL33efyL3CsxfMB+qKEUOBYG1B2kxt+6I0Gtcz39o9tLUUja4X/xPl5gkpCxME5/FH+IE179rzshL/FD5BgNJ4pP24kqcfbUEbDr6gBcWfNxr1G4iz3cBlZme+guWrDJJYr4vs+I70YqMkWcKyX5qnsxilp7fckptfndx4DRU4mnuLbOA5hQd8N03mvgDuFlzsXZrJbytgf4asGdr5obxJhvRjz5zS0JFhpY6btSA30YsrK83kCgYEA/HjH/H4I4h/7c5eGG2i8F2QDPcaifbNDyyn/ZNicVq3oMFSe7uu/xOuhk6RON4l4eAd/8p1HHlzPbJwhhsXp6+KDqq9kZ2N+sTn75noeCcDhC9bKT2IZDto1gR28kcdBEw/jyfx9Tf/xwUsK77ItrktIxTBgoDCQllBL/f3ad90CgYEAlZU9U5lcu8+gBWliZqJl/AHKSfNXSQ4cPB5xH81wyFt+G+kMU5oKhpE/NGZm7LjblWRoS/IjtQL6dw/Eo+khtkAm64nWAFbjS7JZ7zvcZgTFJVlemxRpWQlYlZ0zwdjdEiyCu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